﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace RadarGlobalPro.PlacesAPI
{
    class PlacesResults
    {
        private Geometry _geometry;
        private string  _icon;
        private string _id;
        private string _name;
        private string _reference;
        private List<string> _types;
        private string _vicinity;

        [DataMember(Name = "geometry")]
        public Geometry geometry
        {
            get { return _geometry; }
            set { _geometry = value; }
        }
        [DataMember(Name = "icon")]
        public string icon
        {
            get { return _icon; }
            set { _icon = value; }
        }
        [DataMember(Name = "id")]
        public string id 
        {
            get { return _id; }
            set { _id = value; }
        }
        [DataMember(Name = "name")]
        public string name
        {
            get { return _name; }
            set { _name = value; }
        }
        [DataMember(Name = "reference")]
        public string reference
        {
            get { return _reference; }
            set { _reference = value; }
        }
        [DataMember(Name = "types")]
        public List<string> types
        {
            get { return _types; }
            set { _types = value; }
        }
        [DataMember(Name = "vicinity")]
        public string vicinity
        {
            get { return _vicinity; }
            set { _vicinity = value; }
        }
    }
}
